package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.request.HotProductRequest;
import com.ytjj.qmyx.admin.model.response.HotProductChoose;
import com.ytjj.qmyx.admin.model.response.HotProductResponse;
import com.ytjj.qmyx.mall.model.HotProduct;

import java.util.List;

/**
 *
 * 
 * @Version: 1.0
 */
public interface HotProductDao {

    List<HotProductResponse> selectList(HotProductRequest hotProductRequest);

    List<HotProductChoose> hotProductChooseList(String productName);

    Integer insertHotProduct(Integer productId, String icon);

    Integer isExist(Integer productId);

    HotProduct getHotProduct(Integer id);

    Integer copyInsert(HotProduct hotProduct);

}
